package com.cloudwise.gproject.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (Custom)实体类
 *
 * @author makejava
 * @since 2021-03-20 08:35:58
 */
@Data
public class Custom implements Serializable {
    private static final long serialVersionUID = 265623554048642714L;

    private Integer customId;
    /**
     * 联系人姓名
     */
    private String contact;
    /**
     * 手机号
     */
    private String phone;

    private String email;
    /**
     * 申请人
     */
    private String applicant;
    /**
     * 邮寄地址
     */
    private String customAddress;
    /**
     * 当前登录人的loginName，创建人
     */
    private String createBy;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    private String updateBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    /**
     * 代理人ID
     */
    private Integer proxyId;
    /**
     * 代理人姓名
     */
    private String userName;
    private String remark;

}
